package org.example.data;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;


@JsonIgnoreProperties(ignoreUnknown = true)
public class PositionDataDetail {

    @JsonProperty("data")
    private PositionData data;

    @JsonProperty("deviceName")
    private String deviceName;

    @JsonProperty("name")
    private String name;

    @JsonProperty("uid")
    private String uid;

    // 无参构造函数
    public void PositionData() {}

    @Override
    public String toString() {
        return "PositionDataDetail{" +
                "data=" + data +
                ", deviceName='" + deviceName + '\'' +
                ", name='" + name + '\'' +
                ", uid='" + uid + '\'' +
                '}';
    }

    public PositionData getData() {
        return data;
    }

    public void setData(PositionData data) {
        this.data = data;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }
}
